package com.ys.erp.entity.data.bean;

import com.baomidou.mybatisplus.annotation.*;
import jakarta.validation.Valid;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author 南山
 * @date 2025/07/24 15:08
 */
@TableName("t_procure_transport_setting")
@Data
public class ProcureTransportSetting {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("is_sticky")
    private Integer isSticky;

    @TableField("name")
    private String name;

    @TableField("brand")
    private String brand;

    @TableField("phone")
    private String phone;

    @TableField("transport_method")
    private String transportMethod;

    @TableField("carrier")
    private String carrier;

    @TableField("aging")
    private String aging;

    @TableField("quarantine_certificate_no")
    private String quarantineCertificateNo;

    @TableField("cost_des")
    private String costDes;

    @TableField("des")
    private String des;

    @TableField("departure")
    private String departure;

    @TableField("publicity_video")
    private String publicityVideo;

    @TableField("line_on")
    private Integer lineOn;

    private Long empId;

    @TableField("version")
    @Version
    private Integer version;

    @TableField(value = "create_time")
    private LocalDateTime createTime;

    @TableField(value = "update_time", update = "now()")
    private LocalDateTime updateTime;
}
